add robot moving function
